* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vue-flow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    direction: ltr
}

.vue-flow__container {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0
}

.vue-flow__pane {
    z-index: 1
}

.vue-flow__pane.draggable {
    cursor: grab
}

.vue-flow__pane.selection {
    cursor: pointer
}

.vue-flow__pane.dragging {
    cursor: grabbing
}

.vue-flow__transformationpane {
    transform-origin: 0 0;
    z-index: 2;
    pointer-events: none
}

.vue-flow__viewport {
    z-index: 4;
    overflow: clip
}

.vue-flow__selection {
    z-index: 6
}

.vue-flow__edge-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.vue-flow__nodesselection-rect:focus, .vue-flow__nodesselection-rect:focus-visible {
    outline: none
}

.vue-flow .vue-flow__edges {
    pointer-events: none;
    overflow: visible
}

.vue-flow__connection-path, .vue-flow__edge-path {
    stroke: #b1b1b7;
    stroke-width: 1;
    fill: none
}

.vue-flow__edge {
    pointer-events: visibleStroke;
    cursor: pointer
}

.vue-flow__edge.animated path {
    stroke-dasharray: 5;
    animation: dashdraw .5s linear infinite
}

.vue-flow__edge.animated path.vue-flow__edge-interaction {
    stroke-dasharray: none;
    animation: none
}

.vue-flow__edge.inactive {
    pointer-events: none
}

.vue-flow__edge.selected, .vue-flow__edge:focus, .vue-flow__edge:focus-visible {
    outline: none
}

.vue-flow__edge.selected .vue-flow__edge-path, .vue-flow__edge:focus .vue-flow__edge-path, .vue-flow__edge:focus-visible .vue-flow__edge-path {
    stroke: #555
}

.vue-flow__edge-textwrapper {
    pointer-events: all
}

.vue-flow__edge-text {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none
}

.vue-flow__connection {
    pointer-events: none
}

.vue-flow__connection .animated {
    stroke-dasharray: 5;
    animation: dashdraw .5s linear infinite
}

.vue-flow__connectionline {
    z-index: 1001
}

.vue-flow__nodes {
    pointer-events: none;
    transform-origin: 0 0
}

.vue-flow__node-default, .vue-flow__node-input, .vue-flow__node-output {
    border-color: #bbb
}

.vue-flow__node-default.selected, .vue-flow__node-default:focus, .vue-flow__node-default:focus-visible, .vue-flow__node-input.selected, .vue-flow__node-input:focus, .vue-flow__node-input:focus-visible, .vue-flow__node-output.selected, .vue-flow__node-output:focus, .vue-flow__node-output:focus-visible {
    outline: none;
    border: 1px solid #555
}

.vue-flow__node {
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    pointer-events: all;
    transform-origin: 0 0;
    box-sizing: border-box;
    cursor: default
}

.vue-flow__node.draggable {
    cursor: grab;
    pointer-events: all
}

.vue-flow__node.draggable.dragging {
    cursor: grabbing
}

.vue-flow__nodesselection {
    z-index: 3;
    transform-origin: left top;
    pointer-events: none
}

.vue-flow__nodesselection-rect {
    position: absolute;
    pointer-events: all;
    cursor: grab
}

.vue-flow__nodesselection-rect.dragging {
    cursor: grabbing
}

.vue-flow__handle {
    position: absolute;
    pointer-events: none;
    min-width: 5px;
    min-height: 5px
}

.vue-flow__handle.connectable {
    pointer-events: all;
    cursor: crosshair
}

.vue-flow__handle-bottom {
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%)
}

.vue-flow__handle-top {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%)
}

.vue-flow__handle-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%)
}

.vue-flow__handle-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%)
}

.vue-flow__edgeupdater {
    cursor: move;
    pointer-events: all
}

.vue-flow__panel {
    position: absolute;
    z-index: 5;
    margin: 15px
}

.vue-flow__panel.top {
    top: 0
}

.vue-flow__panel.bottom {
    bottom: 0
}

.vue-flow__panel.left {
    left: 0
}

.vue-flow__panel.right {
    right: 0
}

.vue-flow__panel.center {
    left: 50%;
    transform: translateX(-50%)
}

@keyframes dashdraw {
    0% {
        stroke-dashoffset: 10
    }
}

:root {
    --vf-node-bg: #fff;
    --vf-node-text: #222;
    --vf-connection-path: #b1b1b7;
    --vf-handle: #555
}

.vue-flow__edge.updating .vue-flow__edge-path {
    stroke: #777
}

.vue-flow__edge-text {
    font-size: 10px
}

.vue-flow__edge-textbg {
    fill: #fff
}

.vue-flow__connection-path {
    stroke: var(--vf-connection-path)
}

.vue-flow__node {
    cursor: grab
}

.vue-flow__node.selectable:focus, .vue-flow__node.selectable:focus-visible {
    outline: none
}

.vue-flow__node-default, .vue-flow__node-input, .vue-flow__node-output {
    padding: 10px;
    border-radius: 3px;
    width: 150px;
    font-size: 12px;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    color: var(--vf-node-text);
    background-color: var(--vf-node-bg);
    border-color: var(--vf-node-color)
}

.vue-flow__node-default.selected, .vue-flow__node-default.selected:hover, .vue-flow__node-input.selected, .vue-flow__node-input.selected:hover, .vue-flow__node-output.selected, .vue-flow__node-output.selected:hover {
    box-shadow: 0 0 0 .5px var(--vf-box-shadow)
}

.vue-flow__node-default .vue-flow__handle, .vue-flow__node-input .vue-flow__handle, .vue-flow__node-output .vue-flow__handle {
    background: var(--vf-handle)
}

.vue-flow__node-default.selectable:hover, .vue-flow__node-input.selectable:hover, .vue-flow__node-output.selectable:hover {
    box-shadow: 0 1px 4px 1px rgba(0, 0, 0, .08)
}

.vue-flow__node-input {
    --vf-node-color: var(--vf-node-color, #0041d0);
    --vf-handle: var(--vf-node-color, #0041d0);
    --vf-box-shadow: var(--vf-node-color, #0041d0);
    background: var(--vf-node-bg);
    border-color: var(--vf-node-color, #0041d0)
}

.vue-flow__node-input.selected, .vue-flow__node-input:focus, .vue-flow__node-input:focus-visible {
    outline: none;
    border: 1px solid var(--vf-node-color, #0041d0)
}

.vue-flow__node-default {
    --vf-handle: var(--vf-node-color, #1a192b);
    --vf-box-shadow: var(--vf-node-color, #1a192b);
    background: var(--vf-node-bg);
    border-color: var(--vf-node-color, #1a192b)
}

.vue-flow__node-default.selected, .vue-flow__node-default:focus, .vue-flow__node-default:focus-visible {
    outline: none;
    border: 1px solid var(--vf-node-color, #1a192b)
}

.vue-flow__node-output {
    --vf-handle: var(--vf-node-color, #ff0072);
    --vf-box-shadow: var(--vf-node-color, #ff0072);
    background: var(--vf-node-bg);
    border-color: var(--vf-node-color, #ff0072)
}

.vue-flow__node-output.selected, .vue-flow__node-output:focus, .vue-flow__node-output:focus-visible {
    outline: none;
    border: 1px solid var(--vf-node-color, #ff0072)
}

.vue-flow__nodesselection-rect, .vue-flow__selection {
    background: rgba(0, 89, 220, .08);
    border: 1px dotted rgba(0, 89, 220, .8)
}

.vue-flow__nodesselection-rect:focus, .vue-flow__nodesselection-rect:focus-visible, .vue-flow__selection:focus, .vue-flow__selection:focus-visible {
    outline: none
}

.vue-flow__handle {
    width: 6px;
    height: 6px;
    background: var(--vf-handle);
    border: 1px solid #fff;
    border-radius: 100%
}

.vue-flow__controls {
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, .08)
}

.vue-flow__controls-button {
    background: #fefefe;
    border: none;
    border-bottom: 1px solid #eee;
    box-sizing: content-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 5px
}

.vue-flow__controls-button svg {
    width: 100%;
    max-width: 12px;
    max-height: 12px
}

.vue-flow__controls-button:hover {
    background: #f4f4f4
}

.vue-flow__controls-button:disabled {
    pointer-events: none
}

.vue-flow__controls-button:disabled svg {
    fill-opacity: .4
}

.flow-container {
    width: 100%;
    height: 100%
}

.vue-flow-basic-example {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef)
}

:deep(.vue-flow__node) {
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    width: 150px;
    min-height: 50px;
    height: auto;
    word-wrap: break-word;
    white-space: normal;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 2px;
    border-style: solid
}

:deep(.vue-flow__node:hover) {
    box-shadow: 0 8px 12px rgba(0, 0, 0, .15);
    transform: translateY(-2px)
}

.iframe-topology {
    width: 100%;
    height: 100vh;
    overflow: hidden
}
